package com.tarena.vehicle.management.pojo.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
@Data
public class VehicleQuery {

    @ApiModelProperty("自增ID")
    private Integer id;

    @ApiModelProperty("车辆品牌")
    private String brand;

    @ApiModelProperty("车辆牌照")
    private String license;

    @ApiModelProperty("车辆类型")
    private String model;

    @ApiModelProperty("车架号")
    private String vin;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("购买时间")
    private LocalDateTime purchaseTime;

    @ApiModelProperty("车座数")
    private Integer vehicleSeat;

    @ApiModelProperty("车辆状态 0正常  1维修中")
    private Integer status;

    @ApiModelProperty("调度状态 0待分配  1已分配")
    private Integer schedulingState;

    @ApiModelProperty("行驶状态 0未行驶  1行驶中")
    private Integer travelStatus;
}
